package com.spzx.common.core.constant;

import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.security.Keys;

import javax.crypto.SecretKey;

/**
 * Token的Key常量
 *
 * @author spzx
 */
public class TokenConstants {
    /**
     * 令牌前缀
     */
    public static final String PREFIX = "Bearer ";

    /**
     * 令牌秘钥
     */
    public static final SecretKey SECRET_KEY = Keys.hmacShaKeyFor("Zpxty67CWhtaSCf5Wi6luJEyrQFCSrUfZpxty67CWhtaSCf5Wi6luJEyrQFCSrUf".getBytes());

}
